package com.qilin.hscs.service;


import com.qilin.hscs.dto.UserDto;
import com.qilin.hscs.dto.UserModifyPassDto;
import com.qilin.hscs.pojo.User;
import com.qilin.hscs.vo.ResultVO;
import com.qilin.hscs.vo.UserVO;

public interface UserService {

    ResultVO register(User user);

    ResultVO loginByPass(String username, String password);

    ResultVO findUserByPhone(String phone);

    ResultVO ModifyUserInfo(UserDto userDto);

    ResultVO updatePassword(UserModifyPassDto dto);

    User findOneByPhone(String phone);
}
